package com.chengxiaoxiao.dao;

import com.chengxiaoxiao.domain.Books;

import java.util.List;

public interface BookDao extends CommonDao<Books> {
    int getTotalRecordsNum();

    List getPageLikeSNum(int startIndex, int pageSize, String bookName);

    int getTotalRecordsNumByBookName(String bookName);

    List<Books> getBooksByCategory(String id);



    int getBooksByCategoryPageNumber(String id);

    List getBooksByCategoryPage(int startIndex, int pageSize, String id);

    Books getBookByIsbn(String isbn);
}
